#!/bin/bash  
#===============================================================================
#
#          FILE: Install.sh
# 
#         USAGE: ./Install.sh 
# 
#   DESCRIPTION: 
# 
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Bingyang Xue (), 
#  ORGANIZATION: 
#       CREATED: 08/20/2013 03:59:41 AM CST
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error

RootPath=$(cd "$(dirname "$0")"; pwd)
echo

echo "Create .vimrc link to $RootPath/.vimrc"
ln -s $RootPath/vimrc ~/.vimrc

echo "Create .vim link to $RootPath/.vim"
ln -s $RootPath/vim ~/.vim

ls -al ~/.vimrc
ls -al ~/.vim
